package com.shop.zkmall.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户关注关系表
 * </p>
 *
 * @author ${author}
 * @since 2025-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cere_buyer_user_follow")
@ApiModel(value="CereBuyerUserFollow对象", description="用户关注关系表")
public class CereBuyerUserFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关注发起者用户ID（谁关注了别人）")
    private Long userId;

    @ApiModelProperty(value = "被关注用户ID")
    private Long followId;

    @ApiModelProperty(value = "关注时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
